import {v4 as uuidv4} from 'uuid'
export const getUserTempld=()=>{
  //先从本地中获取uuid
  let userTempId=localStorage.getItem('userTempId');
  //要是没有的话生成一份}
  if(!userTempId){
    localStorage.setItem('userTempId',uuidv4())
  }
  return userTempId//返回数据
}